﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Naruto.TaskManagement.Entitys.VM
{
    public class GetListByUserIdViewModel
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 接收人用户id
        /// </summary>
        public string ReciveUserId { get; set; }


        /// <summary>
        /// 未读消息数
        /// </summary>
        public int UnReadMessageCount { get; set; }



        /// <summary>
        /// 最新一条消息的发送人id
        /// </summary>
        public string ChatContentSendUserId { get; set; }

        /// <summary>
        /// 最新一条聊天内容
        /// </summary>
        public string ChatContent { get; set; }


        /// <summary>
        /// 文本: 0 ;  emoji  1;图片: 2  视频 3
        /// </summary>
        public int ContentType { get; set; }


        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
    public class GetListByUserIdResultViewModel
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 接收人用户id
        /// </summary>
        public string ReciveUserId { get; set; }


        /// <summary>
        /// 未读消息数
        /// </summary>
        public int UnReadMessageCount { get; set; }



        /// <summary>
        /// 最新一条消息的发送人id
        /// </summary>
        public string ChatContentSendUserId { get; set; }

        /// <summary>
        /// 最新一条聊天内容
        /// </summary>
        public string ChatContent { get; set; }


        /// <summary>
        /// 文本: 0 ;  emoji  1;图片: 2  视频 3
        /// </summary>
        public int ContentType { get; set; }


        /// <summary>
        /// 接收人的头像
        /// </summary>
        public string HeardImgUrl { get; set; }

        /// <summary>
        /// 接收人名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }

}
